package com.tcm.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * ts_menu菜单表实体类
 * @author Guqier
 * @version 1.0
 * @date 2023/7/12 16:51
 */
@Data
@TableName("ts_menu")
public class Menu {

    //菜单项目ID
    private Long id;

    //目录名称
    private String name;

    //父级ID
    private Long parentId;

    //权限ID
    private Long permissionId;

    //权限验证路径
    private String path;

    //状态，0启用，1停用
    @TableField(fill = FieldFill.INSERT)
    private Integer status;

    //创建时间
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    //创建用户
    private Long createUser;

    //更新时间
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    //更新用户ID
    private Long updateUser;

    //备注
    private String memo;


}